package system.dto.sys;

//***************************************************
// 对象自动生成，可按需要修改字段与属性，自动生成不会产生覆盖
// 需要全新生成时删除本对象重新生成即可
//***************************************************

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.Column;

/**
 * 账户查询参数
 */
@Data
public class SysUserQuery {


    @Column(name = "id")
    private Long id;

    /**
     * 账户名(登录名)
     */
    @ApiModelProperty(value = "账户名(登录名)")
    private String username;

    /**
     * 姓名
     */
    @ApiModelProperty(value = "姓名")
    private String name;

    /**
     * 启用状态(0.启用, 1.禁用)
     */
    @ApiModelProperty(value = "启用状态(0.启用, 1.禁用)")
    private Integer isDisabled;

    /**
     * 邮件验证状态 (0.未验证, 1.已验证)
     */
    @ApiModelProperty(value = "邮件验证状态 (0.未验证, 1.已验证)")
    private Integer isMail;

    /**
     * 电话验证状态 (0.未验证, 1.已验证)
     */
    @ApiModelProperty(value = "电话验证状态 (0.未验证, 1.已验证)")
    private Integer isMobile;

    /**
     * 注册审批状态 (0.待审批, 1.已批准, 2.已拒绝)
     */
    @ApiModelProperty(value = "注册审批状态 (0.待审批, 1.已批准, 2.已拒绝)")
    private Integer regApproval;

    /**
     * 用户邮箱
     */
    @ApiModelProperty(value = "用户邮箱")
    private String mail;

    /**
     * 手机号码
     */
    @ApiModelProperty(value = "手机号码")
    private String mobile;

    /**
     * 电话号码
     */
    @ApiModelProperty(value = "电话号码")
    private String phone;

    /**
     * 所属部门ID
     */
    @ApiModelProperty(value = "所属部门ID")
    private Integer deptId;

    @ApiModelProperty(value = "部门名称")
    private String deptName;

    /**
     * 岗位ID
     */
    @ApiModelProperty(value = "岗位ID")
    private Integer postId;

    @ApiModelProperty(value = "岗位名称")
    private String postName;

    /**
     * 角色ID
     */
    @ApiModelProperty(value = "角色ID")
    private Integer roleId;

    @ApiModelProperty(value = "角色名称")
    private String roleName;

}